#ifndef SAVESLOT_H
#define SAVESLOT_H

#include <QObject>
#include <zmq.h>
#include "startslot.h"
#include <QFile>
#include <QDateTime>
#include <QDebug>

class saveSlot : public QObject
{
    Q_OBJECT
public:
    void init(startSlot *);
public Q_SLOTS:
    void slot_save();
private:
    startSlot * startfunc = Q_NULLPTR;
    QString relative_path = QStringLiteral("./saved_data/");
    QString tofile =  QStringLiteral("/setting");
    QString time = QDateTime::currentDateTime().toString(QStringLiteral("yyyy-MM-dd_HH-mm-ss"));
};

#endif // SAVESLOT_H
